package com.cheer.service;

import com.cheer.param.PersonSaveParam;
import com.cheer.vo.ExVoteIndexVO;
import com.cheer.vo.ExVotePersonVO;

import java.util.List;

/**
 * 活动表
 *
 * @author cheer
 */
public interface VoteService {

    List<ExVoteIndexVO> index(String openid);

    List<ExVotePersonVO> search(String keyword, String openid);

    Integer postVote(Long personId, String openid);

    void cancelVote(Long personId, String openid);

    ExVotePersonVO detail(Long personId, String openid);

    void save(PersonSaveParam personSaveParam);

}

